import styled, { createGlobalStyle } from 'styled-components';

export const CreateGlobal = createGlobalStyle`
  body {
    background: #fafafa;
  }
`;

export const LoginWrapper = styled.div`
  width: 700px;
  margin: 35px auto;
  background-color: #fff;
  box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
`;

export const LoginForm = styled.form`
  padding: 80px 150px 50px;
  box-sizing: border-box;
  h2 {
    font-size: 30px;
    margin-bottom: 30px;
    font-weight: 400;
    color: #151515;
  }
`;

export const LoginInputWrapper = styled.div`
  margin-bottom: 10px;
  position: relative;
  &.mg40 {
    margin: 40px 0;
  }
`;

export const LoginInputContent = styled.div`
  border-bottom: 2px solid #f1f1f1;
`;

export const LoginInput = styled.input`
  width: 100%;
  height: 40px;
  line-height: 40px;
  box-sizing: border-box;
  padding: 10px 0;
  border: none;
  background: none;
  outline: none;
  border-radius: 2px;
  font-size: 14px;
  color: #333;
`;

export const LoginForget = styled.a`
  position: absolute;
  right: 0px;
  font-size: 13px;
  line-height: 40px;
  text-decoration: underline;
`;

export const BtnLogin = styled.button`
  height: 40px;
  line-height: 40px;
  font-size: 14px;
  padding:0 44px;
`;

export const ToReg = styled.span`
  line-height: 40px;
  font-size: 13px;
  line-height: 40px;
  text-decoration: underline;
  color: #333;
  &.fr {
    float: right;
  }
`;

export const Hr = styled.div`
  border-bottom: 2px dashed #f7f7f7
`;